package com.tyk.demo.controller;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.OutputStream;

@RequestMapping("/pic")
@Controller
public class PicController {
    @RequestMapping
    public String pic() {
        return "pic";
    }

    @GetMapping("/picShow")
    @ResponseBody
    public void picShow(@RequestParam("jt") String jt, HttpServletRequest request) throws IOException {

    }
}
